package com.ysd.mapper;

import java.util.List;

import com.ysd.entity.Category;

public interface CategoryMapper {
	List<Category> getCategorys(Category category);
	
	int getCount(Category category);
	//删除
	int delCategory(int c_id);
	//添加
	int addCategory(Category category);
	//修改
	int xgCategory(Category category);
	List<Category> getType();//动态显示下拉菜单
	Category chaChong(Category category);//添加分类时查重
}

